|
|
|
|
|
|
|
Figure 18.6
A hypercube that was rotated around the X-Z plane
before projection into three-dimensional space. |
|
|
|
|
|
|
|
|
By rotating the hypercube before projecting it in program Persp, you can create strange pictures like the one shown in Figure 18.6. To try to understand rotation in the fourth dimension, you can write a program that performs similar rotations in small increments. Example program Animated presents animated sequences showing a hypercube being rotated around one or more of the X-Y, X-Z, or Y-Z planes before perspective projection. |
|
|
|
|
|
|
|
|
Check the boxes for the coordinate planes around which you want the program to rotate the hypercube and click the Go button. For example, if you check the XY Plane box, the program rotates the hypercube around the X-Y plane. If you also check the YZ Plane box, the program rotates the hypercube around the X-Y plane and then around the Y-Z plane. Some of the combinations are quite strange. |
|
|
|
|
|
|
|
|
Using paper, scissors, and glue, you can make a cube by folding up a collection of six squares. Figure 18.7 shows the steps you could take. |
|
|
|
|
|
|
|
|
In a similar manner, you can create a hypercube by folding up a group of eight cubes. Start with eight cubes like those shown in Figure 18.8. Rotate each in turn by 90 degrees around the plane that separates it from the central cube. When you finish, you have created a hypercube. |
|
|
|
|
|